home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 19 / CU Amiga Magazine's Super CD-ROM 19 (1998)(EMAP Images)(GB)[!][issue 1998-02].iso / CUCD / Magazine / SoundLab / Studio16add / scripts / MakePermanent < prev    next >
Encoding:
AmigaDOS Script File  |  1997-11-12  |  668 b   |  29 lines

  1. .key PATTERN/A
  2. .bra {
  3. .ket }
  4.  
  5. ; This script can make many files permanent based
  6. ; on pattern matching.
  7. ;
  8. ; $VER: MakePermanent 1.0 (12.11.97)
  9. ; By Kenneth "Kenny" Nilsen (kenny@bgnett.no)
  10. ;
  11. ; USAGE: MakePermanent <pattern>
  12. ;
  13. ; NOTE: The commands must be in the command search path. To be safe
  14. ; copy the commands in C: or add the path where you keep the commands to
  15. ; the global search path (startup-sequence: path <path> ADD).
  16.  
  17. list {PATTERN} files lformat="echo *"Processing file '%N'... please wait!*"*nS16MakePermanent %P%N" >t:tmp.16
  18.  
  19. ;-- convert files
  20.  
  21. echo "Making files permanent - please wait!"
  22.  
  23. execute t:tmp.16
  24. delete t:tmp.16 >nil:
  25.  
  26. echo "Done"
  27.  
  28. lab Final
  29.